LEADTOOLS WebForms and AJAX (Leadtools.Web.Services assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
StartStreaming Method
See Also 
Leadtools.Web.Services Namespace > ServiceStreamer<TStreamedData,TServiceState> Class : StartStreaming Method



state
User state information which will be passed to the abstract methods.
state
User state information which will be passed to the abstract methods.
Starts the process of streaming.

Syntax

Visual Basic (Declaration) 
Public Sub StartStreaming( _
   ByVal state As TServiceState _
) 
Visual Basic (Usage)Copy Code
Dim instance As ServiceStreamer(Of TStreamedData,TServiceState)
Dim state As TServiceState
 
instance.StartStreaming(state)
C# 
public void StartStreaming( 
   TServiceState state
)
C++/CLI 
public:
void StartStreaming( 
   TServiceState^ state
) 

Parameters

state
User state information which will be passed to the abstract methods.

Remarks

You can call this method multiple times to continue streaming after all streams have been processed.

Make sure that the ServiceStreamer<TStreamedData,TServiceState> is not busy before calling this method by checking the Busy property.

Calling this method while the ServiceStreamer<TStreamedData,TServiceState> is still busy causes an excpetion.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also